package com.ybdz.scanner.bean;

/**
 * @ClassName: QueryBean
 * @author: zhao
 * @Description:    查询请求返回的Bean
 * @date 2018/2/1 9:15
 */
public class QueryBean {

    private String code;
    private DataBean data;

    public static class DataBean{
        private String productName;
        private String part;
        private String aera;
        private String breed;
        private String grade;
        private String factoryNumber;
        private String brand;
        private String storage;
        private String size;
        private String productionDate;
        private String putDate;
        private String batch;
        private String weight;
        private String isQualified;

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getPart() {
            return part;
        }

        public void setPart(String part) {
            this.part = part;
        }

        public String getAera() {
            return aera;
        }

        public void setAera(String aera) {
            this.aera = aera;
        }

        public String getBreed() {
            return breed;
        }

        public void setBreed(String breed) {
            this.breed = breed;
        }

        public String getGrade() {
            return grade;
        }

        public void setGrade(String grade) {
            this.grade = grade;
        }

        public String getFactoryNumber() {
            return factoryNumber;
        }

        public void setFactoryNumber(String factoryNumber) {
            this.factoryNumber = factoryNumber;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public String getStorage() {
            return storage;
        }

        public void setStorage(String storage) {
            this.storage = storage;
        }

        public String getSize() {
            return size;
        }

        public void setSize(String size) {
            this.size = size;
        }

        public String getProductionDate() {
            return productionDate;
        }

        public void setProductionDate(String productionDate) {
            this.productionDate = productionDate;
        }

        public String getPutDate() {
            return putDate;
        }

        public void setPutDate(String putDate) {
            this.putDate = putDate;
        }

        public String getBatch() {
            return batch;
        }

        public void setBatch(String batch) {
            this.batch = batch;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public String getIsQualified() {
            return isQualified;
        }

        public void setIsQualified(String isQualified) {
            this.isQualified = isQualified;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "productName='" + productName + '\'' +
                    ", part='" + part + '\'' +
                    ", aera='" + aera + '\'' +
                    ", breed='" + breed + '\'' +
                    ", grade='" + grade + '\'' +
                    ", factoryNumber='" + factoryNumber + '\'' +
                    ", brand='" + brand + '\'' +
                    ", storage='" + storage + '\'' +
                    ", size='" + size + '\'' +
                    ", productionDate='" + productionDate + '\'' +
                    ", putDate='" + putDate + '\'' +
                    ", batch='" + batch + '\'' +
                    ", weight='" + weight + '\'' +
                    ", isQualified='" + isQualified + '\'' +
                    '}';
        }
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }
}
